﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CFG = System.Configuration;
namespace DeutscheRemoval
{
    public static class ConfigUtil
    {
        public static string GetUserLogin()
        {
            return CFG.ConfigurationManager.AppSettings["UserLogin"].ToString();
        }
        public static string GetPasswordLogin()
        {
            return CFG.ConfigurationManager.AppSettings["PasswordLogin"].ToString();
        }

        public static string GetSSL()
        {
            return CFG.ConfigurationManager.AppSettings["SSL"].ToString();
        }
        public static string GetLog()
        {
            return CFG.ConfigurationManager.AppSettings["Log"].ToString();
        }
        public static string GetHour()
        {
            return CFG.ConfigurationManager.AppSettings["Hour"].ToString();
        }
        public static string GetMinute()
        {
            return CFG.ConfigurationManager.AppSettings["Minute"].ToString();
        }
        public static string GetExcelPath()
        {
            return CFG.ConfigurationManager.AppSettings["InputFilePath"].ToString();
        }
        public static string GetExcelName()
        {
            return CFG.ConfigurationManager.AppSettings["InputFileName"].ToString();
        }

        public static string GetOutputFilePath()
        {
            return CFG.ConfigurationManager.AppSettings["OutPutFilePath"].ToString();
        }

        public static string GetOutputFileName()
        {
            return CFG.ConfigurationManager.AppSettings["OutPutFileName"].ToString();
        }

        public static string GetFirstSearchPath()
        {
            return CFG.ConfigurationManager.AppSettings["FirstSearchPath"].ToString();
        }

        public static string GetSecondSearchPath()
        {
            return CFG.ConfigurationManager.AppSettings["SecondSearchPath"].ToString();
        }

        public static string GetURLServer()
        {
            return CFG.ConfigurationManager.AppSettings["URLServer"].ToString();
        }
        public static string GetUserDB()
        {
            return CFG.ConfigurationManager.AppSettings["UserDB"].ToString();
        }
        public static string GetPasswordDB()
        {
            return CFG.ConfigurationManager.AppSettings["PasswordDB"].ToString();
        }
        public static string GetNameDB()
        {
            return CFG.ConfigurationManager.AppSettings["NameDB"].ToString();
        }

        public static string GetSMTPServer()
        {
            return CFG.ConfigurationManager.AppSettings["SMTP_SERVER"].ToString();
        }

        public static string GetStatusEmail()
        {
            return CFG.ConfigurationManager.AppSettings["StatusEmail"].ToString();
        }
        
        public static string GetSMTPPort()
        {
            return CFG.ConfigurationManager.AppSettings["Port"].ToString();
        }

        public static string GetSender()
        {
            return CFG.ConfigurationManager.AppSettings["Sender"].ToString();
        }

        public static string GetSenderPassword()
        {
            return CFG.ConfigurationManager.AppSettings["Password"].ToString();
        }
    }
}
